<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        .box{ width: 200px; height: 0px; line-height: 200px; text-align: center; background: red; overflow: hidden;}
    </style>
</head>
<body>
    <div class="box">
        测试
    </div>
</body>
</html>